#include "ros/ros.h"
#include "geometry_msgs/Twist.h"
#include "turtlesim/Pose.h"
#include "string"

int main(int argc, char *argv[])
{
    ros::init(argc, argv, "change_back_ground");
    ros::NodeHandle nh("~");

	int get_red, get_green, get_blue;
    if(nh.getParam("/turtlesim/background_r", get_red))
    {
        ROS_INFO("BackGround RValue= %d", get_red);
    }
    if(nh.getParam("/turtlesim/background_g", get_green))
    {
        ROS_INFO("BackGround GValue= %d", get_green);
    }
	if(nh.getParam("/turtlesim/background_b", get_blue))
    {
        ROS_INFO("BackGround BValue= %d", get_blue);
    }

    nh.setParam("/turtlesim/background_r", 0);
    nh.setParam("/turtlesim/background_g", 0);
    nh.setParam("/turtlesim/background_b", 0);

    while (ros::ok())
    {
        sleep(1);
    }

    return 0;
}
